import models from "../models/index"
import { create } from "dva-core"
import createLogger from 'dva-logger';
const app = create({})

models.forEach(model => {
  app.model(model)
})
app.use(createLogger());
app.start()


export default app._store;